<?php

include 'imports.inc.php';

$_POST['t'] = Util::getRequestVal($_GET, 't');

$log = new Log();
if ($log->isDebugEnabled()) {
    $log->logDebug("\n\n\n\n" . 'Iniciando a chamada ao action de Categoria.');
}

$controller = new CategoriaController();
$controller->execute(IService::PESQUISAR != $_POST['t'] ? $_POST : $_REQUEST);
?>
